<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8">
  <title>编辑轮播图页面</title>
  <%- include('./BG_layouts/header.ejs')%>
  <link rel="stylesheet" href="/background/css/banner_top.css">
</head>

<body>
  <%- include('./BG_layouts/navbar.ejs') %>
  <div class="banner_out">
    <h2>顶部轮播图</h2>
    <ul id="banner_top_img">
      <li>
        <h3>轮播图1</h3>
        <img src="/page/page_index/index_images//idx-banner1.jpg" alt="">
        <div style="position: relative;margin-top: 10px;">
          <button>点击更换</button>
          <input class="upfile" type="file" name="" id="">
        </div>
        <hr>
      </li>
    </ul>
  </div>
  <%- include('./BG_layouts/aside.ejs') %>

  <%- include('./BG_layouts/footer.ejs') %>
  <script type="text/template" id="banner_top_temp">
    {{each list}}
          <li>
              <h3>轮播图{{$index+1}}</h3>
              <img src="{{$value.site}}" alt="">
              <div style="position: relative;margin-top: 10px;">
                  <button>点击更换</button>
                  <input data-id="{{$value.id}}" class="upfile" type="file" name="" id="">
              </div>
              <hr>
          </li>
      {{/each}}
  </script>

  <script src="/background/js/banner_top.js"></script>
</body>

</html>